package com.muqi.app.qlearn.modles;

import java.io.Serializable;
import java.util.ArrayList;

import org.json.JSONObject;

import com.google.gson.Gson;

public class PersonBean implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public String id;
	public String im_user_id;
	public String mobile;
	public String sex;
	public String name;
	public String nickname;
	public AvatarInfo avatarInfo;
	public String user_type;
	public String flower_count;
	public ArrayList<SchoolInfo> school_info;
	
	public boolean isChecked = false;//勾选
	public boolean isLived = false;//激活
	public String concern;
	public static PersonBean fromJson(JSONObject json) {
		if(json != null){
            return new Gson().fromJson(json.toString(),PersonBean.class);
        }
		return null;
	}
}
